import 'dart:math';

import 'package:flutter/material.dart';
import 'package:movie_ui_app/screens/home/components/categories.dart';
import 'package:movie_ui_app/screens/home/components/genres.dart';

import 'movie_carousel.dart';

class Body extends StatelessWidget {
  const Body({Key key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return SingleChildScrollView(
      // it enable scroll on small device
      child: Column(
        children: [
          CategoryList(), //分类
          Genres(),
          MovieCarousel(),
        ],
      ),
    );
  }
}
